package se.sics.kompics.tutorial.tutorial3.RIWCM.message;

import se.kth.ict.id2203.pp2p.Pp2pDeliver;
import se.sics.kompics.address.Address;

public class WriteMessage extends Pp2pDeliver {

	private static final long serialVersionUID = -5253641081689345637L;

	private Integer registerNumber, reqid, ts, mrank, v;
	
	public WriteMessage(Address sender, Integer registerNumber, Integer reqid, Integer ts, Integer mrank, Integer v) {
		super(sender);
		this.registerNumber = registerNumber;
		this.reqid = reqid;
		this.ts = ts;
		this.mrank = mrank;
		this.v = v;
	}

	public Integer getRegisterNumber() {
		return registerNumber;
	}

	public Integer getReqid() {
		return reqid;
	}

	public Integer getTs() {
		return ts;
	}

	public Integer getMrank() {
		return mrank;
	}

	public Integer getV() {
		return v;
	}

}
